package cn.com.dhc.danlu.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.Date;

public class DlBrandMsg implements Parcelable {
    public static final Parcelable.Creator<DlBrandMsg> CREATOR = new Creator<DlBrandMsg> () {

        @Override
        public DlBrandMsg createFromParcel (Parcel arg0) {
            DlBrandMsg msg = new DlBrandMsg ();
            msg.brandId = arg0.readString ();
            msg.brandName = arg0.readString ();
            return msg;
        }

        @Override
        public DlBrandMsg[] newArray (int arg0) {
            return new DlBrandMsg[arg0];
        }
    };
    private String brandId;
    private String brandName;
    private String brandProfile;
    private String brandLogo;
    private String detailLink;
    private Integer brandOrder;
    private String brandStatus;
    private Date createdTimestamp;
    private String createdPerson;
    private Date updatedTimestamp;
    private String updatedPerson;

    public String getBrandId () {
        return brandId;
    }

    public void setBrandId (String brandId) {
        this.brandId = brandId == null ? null : brandId.trim ();
    }

    public String getBrandName () {
        return brandName;
    }

    public void setBrandName (String brandName) {
        this.brandName = brandName == null ? null : brandName.trim ();
    }

    public String getBrandProfile () {
        return brandProfile;
    }

    public void setBrandProfile (String brandProfile) {
        this.brandProfile = brandProfile == null ? null : brandProfile.trim ();
    }

    public String getBrandLogo () {
        return brandLogo;
    }

    public void setBrandLogo (String brandLogo) {
        this.brandLogo = brandLogo == null ? null : brandLogo.trim ();
    }

    public String getDetailLink () {
        return detailLink;
    }

    public void setDetailLink (String detailLink) {
        this.detailLink = detailLink == null ? null : detailLink.trim ();
    }

    public Integer getBrandOrder () {
        return brandOrder;
    }

    public void setBrandOrder (Integer brandOrder) {
        this.brandOrder = brandOrder;
    }

    public String getBrandStatus () {
        return brandStatus;
    }

    public void setBrandStatus (String brandStatus) {
        this.brandStatus = brandStatus == null ? null : brandStatus.trim ();
    }

    public Date getCreatedTimestamp () {
        return createdTimestamp;
    }

    public void setCreatedTimestamp (Date createdTimestamp) {
        this.createdTimestamp = createdTimestamp;
    }

    public String getCreatedPerson () {
        return createdPerson;
    }

    public void setCreatedPerson (String createdPerson) {
        this.createdPerson = createdPerson == null ? null : createdPerson
                .trim ();
    }

    public Date getUpdatedTimestamp () {
        return updatedTimestamp;
    }

    public void setUpdatedTimestamp (Date updatedTimestamp) {
        this.updatedTimestamp = updatedTimestamp;
    }

    public String getUpdatedPerson () {
        return updatedPerson;
    }

    public void setUpdatedPerson (String updatedPerson) {
        this.updatedPerson = updatedPerson == null ? null : updatedPerson
                .trim ();
    }

    @Override
    public int describeContents () {
        return 0;
    }

    @Override
    public void writeToParcel (Parcel arg0, int arg1) {
        arg0.writeString (brandId);
        arg0.writeString (brandName);
        arg0.writeString (brandId);
        arg0.writeString (brandName);
    }
}